#-*- coding: utf-8 -*-
from django import forms
from models import File
from django.contrib.auth.models import User
from django.template.defaultfilters import filesizeformat

class UploadFileForm(forms.ModelForm):
    owner = forms.ModelChoiceField(
            queryset = User.objects.all(),
            widget = forms.HiddenInput,
        )

    class Meta:
        model = File
        exclude = ('avalible','name')

